#define _CRT_SECURE_NO_WARNINGS 1
#include"Sort.h"


void TestSort()
{
	//int a[] = { 1,51,27,9,0,2,32,4,7,5,10 ,8};
	int a[] = { 8,7,6,4,5,3,1,2 };
	int n = sizeof(a) / sizeof(a[0]);
	Print(a, n);
	MergeSort(a, n);
	Print(a, n);
}
void TestSortNonR()
{

	int a[] = { 8,7,6,4,5,3,1,2};
	int n = sizeof(a) / sizeof(a[0]);
	Print(a, n);
	MergeSortNonR(a, n);
	Print(a, n);
}
int main()
{
	//TestSort();
	TestSortNonR();
	return 0;
}